
// 选择左树的时候触发的逻辑


export default function(pk) {
    this.setState({
        currentSelectDepartment: pk[0],
        pageInfo: {
            ...this.state.pageInfo,
            pageIndex: 1,
            total: 0,
            totalPage: 1
        }
    }, () => {
        if(this.state.hasSearched) {
            this.getMainTableData();
        }
    });
}
